import request from '@/utils/request'

// 查询疑似职业病基础列表
export function listBaseoccupationaldiseae(query) {
  return request({
    url: '/basic/baseoccupationaldiseae/list',
    method: 'get',
    params: query
  })
}

// 查询疑似职业病基础详细
export function getBaseoccupationaldiseae(id) {
  return request({
    url: '/basic/baseoccupationaldiseae/' + id,
    method: 'get'
  })
}

// 新增疑似职业病基础
export function addBaseoccupationaldiseae(data) {
  return request({
    url: '/basic/baseoccupationaldiseae',
    method: 'post',
    data: data
  })
}

// 修改疑似职业病基础
export function updateBaseoccupationaldiseae(data) {
  return request({
    url: '/basic/baseoccupationaldiseae',
    method: 'put',
    data: data
  })
}

// 删除疑似职业病基础
export function delBaseoccupationaldiseae(id) {
  return request({
    url: '/basic/baseoccupationaldiseae/' + id,
    method: 'delete'
  })
}
